import request from '@/utils/request'

// 订单信息的列表
export function ordersLists(params?: Record<string, any>) {
    return request.get({ url: '/orders/list', params })
}

// 订单信息的详情
export function ordersDetail(params: Record<string, any>) {
    return request.get({ url: '/orders/detail', params })
}

// 订单信息的新增
export function ordersAdd(params: Record<string, any>) {
    return request.post({ url: '/orders/add', params })
}

// 订单信息的编辑
export function ordersEdit(params: Record<string, any>) {
    return request.post({ url: '/orders/edit', params })
}

// 订单信息的删除
export function ordersDelete(params: Record<string, any>) {
    return request.post({ url: '/orders/del', params })
}
